WP_Defender\Controller\Antibot_Global_Firewall A

Total Complexity 63
Dependencies 13
Dependents 3
Total lines 559
Lines of code 354
Logical lines of code 129
Comment lines 145
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
save_settings()
B
37 16 78
handle_download_and_store_blocklist()
A
53 9 21
blocklist_checker_add_ip_to_allowlist()
S
43 5 54
__construct()
S
55 5 19
data_frontend()
S
48 4 34
blocklist_checker_search()
S
49 3 33
sync_state()
S
62 4 12
maybe_hcm_connection_attempt()
S
61 4 12
switch_managed_by()
S
53 2 26
blocklist_checker_submit_trusted_ip_form()
S
52 1 31
import_data()
S
65 2 9
enqueue_assets()
S
73 2 5
to_array()
S
98 1 1
remove_data()
S
70 1 7
export_strings()
S
82 1 3
disconnect_site()
S
74 1 4
hide_antibot_notice()
S
76 1 4
remove_settings()
S
98 1 1